html {
    background-color: #000000;
}
body{
    width:1200px;
    height:1200px;
}
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

button {
    background-color: transparent;
    border: none;
    font-size: 32px;
    text-align: center;
    font-weight: bolder;
    color: white;
    opacity: 0.4;
}

button:hover {
    opacity: 1;
    border: none;
    cursor: pointer;
}

button:focus {
    outline: none;
}

.cube-button {
    position: absolute;
    background-size: contain;
    background-image: url("../sources/15.png");
}

.rbs {
    position: relative;
    font-size: 48px;
    font-weight: bolder;
    color: #d900fb;
    text-align: center;
    line-height: 400px;
    vertical-align: center;
}

.rotate-button {
    position: absolute;
    width: 200px;
    height: 100px;
    background-size: 100% 100%;
    background-image: url("../sources/2.png");
    opacity: 0.4;
}

.rotate-button.left {
    left: 0;
    top: 0;

}

.rotate-button.right {
    right: 0;
    top: 0;
}

.rotate-button.up {
    left: 0;
    top: 0;
}

.rotate-button.down {
    left: 0;
    bottom: 0;
}

.choose-surface {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: 100% 100%;
    background-image: url("../sources/5.png");
}

.control-buttons {
    position: absolute;
    bottom: 0;
    right: 0;
}

.rotate-layer-buttons {
    margin: 0 auto;
    float: left;
    width: 400px;
    height: 400px;
    position: relative;
}

.turn-left {
    left: 0;
    bottom: 0;
    transform-origin: left top;
    transform: rotateZ(-90deg);
}

.turn-right {
    right: 0;
    bottom: 0;
    transform-origin: right top;
    transform: rotateZ(90deg);
}

.turn-down {
    left: 100px;
    bottom: 0;
    transform: rotateZ(180deg);
}

.turn-up {
    left: 100px;
    top: 0;
    transform: rotateZ(0deg);
}

.model-buttons {
    margin: 0 auto;
    max-width: 400px;
    display: none;
}

.model-button {
    float: left;
    width: 200px;
    height: 80px;
    background-size: 100% 100%;
    background-image: url("../sources/3.png");
}

.layer-change {
    position: absolute;
    width: 100px;
    height: 50px;
    background-size: 100% 100%;
    background-image: url("../sources/8.png");
}

.layer-d-change {
    position: absolute;
    width: 50px;
    height: 50px;
    background-size: 100% 100%;
    background-image: url("../sources/9.png");
}

.layer-box {
    position: absolute;
    left: 100px;
    top: 100px;
    height: 200px;
    width: 200px;
}


.control {
    margin: 0 auto;
    max-width: 400px;
    height: 80px;
}

.moon-rotate {
    width: 100px;
    height: 200px;
    position: absolute;
}

#btn-sun {
    background-size: 100% 100%;
    top: 0;
    right: 0;
    background-image: url("../sources/10.png");
}

#rise-x-layer {
    left: 50px;
    bottom: 0;
    transform: rotateZ(180deg);
}

#rise-y-layer {
    right: 0;
    bottom: 0;
    transform-origin: right top;
    transform: rotateZ(90deg);
}

#reduce-x-layer {
    top: 0;
    left: 50px;
}

#reduce-y-layer {
    bottom: 0;
    left: 0;
    transform-origin: left top;
    transform: rotateZ(-90deg);
}

#reduce-x-reduce-y {
    top: 0;
    left: 0;
    transform: rotateZ(180deg);
}

#rise-x-rise-y {
    bottom: 0;
    right: 0;
}

#reduce-x-rise-y {
    top: 0;
    right: 0;
    transform: rotateZ(-90deg);
}

#rise-x-reduce-y {
    bottom: 0;
    left: 0;
    transform: rotateZ(90deg);
}

#sun-layer {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 50px;
    top: 50px;
    border: none;
    text-align: center;
    font-size: 32px;
    font-weight: bolder;
    line-height: 100px;
    vertical-align: center;
    color: white;
    background-size: 100% 100%;
    background-image: url("../sources/7.png");
    opacity: 0.8;
}

#moon-layer {
    text-align: center;
    line-height: 200px;
    vertical-align: center;
    color: white;
    font-size: 64px;
    font-weight: bolder;
}

#add {
    top: 0;
    left: 100px;
}

#sub {
    bottom: 0;
    left: 100px;
    transform: rotateZ(180deg);
}

#clockwise {
    top: 100px;
    right: 0;
    background-size: 100% 100%;
    background-image: url("../sources/12.png");
}

#contrarotate {
    top: 100px;
    left: 0;
    background-size: 100% 100%;
    background-image: url("../sources/13.png");
}

#btn-c-f {
    left: 0;
    bottom: 0;
}

#btn-c-u {
    top: 0;
    left: 0;
}

#btn-c-r {
    bottom: 0;
    right: 0;
}


#mbtn-c-f {
    left: 0;
    bottom: 0;
}

#mbtn-c-u {
    top: 0;
    left: 0;
}

#mbtn-c-r {
    bottom: 0;
    right: 0;
}


#btn-moon {
    top: 0;
    right: 0;
    background-size: 100% 100%;
    background-image: url("../sources/11.png");
}

#btn-control {
    margin: 0 auto;
    width: 400px;
    height: 80px;
    font-size: 32px;
    text-align: center;
    background-size: 100% 100%;
    background-image: url("../sources/4.png");
}

#head {
    margin: 0 auto;
    max-width: 1000px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    background: linear-gradient(to right, #00a9ff, #d900fb);
    font-weight: bolder;
    font-style: italic;
    text-align: center;
    text-decoration: blink;
    color: white;
    font-size: 32px;
    font-family: 幼圆;
}

#cube-order {
    margin: 0 auto;
    max-width: 100px;
    height: 80px;
    line-height: 80px;
    vertical-align: middle;
    font-weight: bolder;
    font-style: italic;
    text-align: center;
    text-decoration: blink;
    color: red;
    font-size: 32px;
    font-family: 幼圆;
}

#moon-model {
    display: none;
}